#!/bin/bash
#

for i in $(seq 254);do
    {
    ip=10.11.11.$i
    if ping -c 2 -W 1 $ip &> /dev/null;then
     echo "host $ip is up"
    fi
    }&
done
wait
